<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<title>API: yahoo   (YUI Library)</title>
	
	<link rel="shortcut icon" href="assets/yui_icon.ico" type="image/x-icon" />
	<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
	<link rel="stylesheet" type="text/css" href="assets/api.css" />

    <script type="text/javascript" src="assets/api-js"></script>
    <script type="text/javascript" src="assets/ac-js"></script>
</head>

<body id="yahoo-com">

<div id="doc3" class="yui-t2">
	<div id="hd">
        <h1>
        	<a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a>
        	<img src="assets/yui_icon.png" alt="YUI文档中文化" />
        </h1>
        <h3>YAHOO Global&nbsp; <span class="subtitle">2.7.0b</span></h3>
        <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> 
            &gt; <a href="./module_yahoo.html" title="yahoo">yahoo</a>
                
                
        <form onsubmit="return false">
            <div id="propertysearch">
                搜索: <input autocomplete="off" id="searchinput" />
                <div id="searchresults">
                    &nbsp;
                </div>
            </div>
        </form>
	</div>

	<div id="bd">
		<div id="yui-main">
			<div class="yui-b">
            <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
                <fieldset>
                    <legend>Filters</legend>
                <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
                <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
                <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
                </fieldset>
            </form>

                   
                    <h3>模块：yahoo
                    


                    </h3>
                    <div class="description summary">
                        YAHOO对象是YUI库的唯一的全局对象，包含设置名称空间，继承和日志等功能函数，
YAHOO.util, YAHOO.widget, 和 YAHOO.example 是YUI库自动创建的名称空间，在库里经常用到。
                    </div>



                <div class="yui-gc">
                    <div class="yui-u first">

                            <p>本模块包含以下类：</p>
                            <script>
                            //var YUI_CLASS_LIST = [{"extends": {"superclass": {}, "events": {}, "configs": {}, "properties": {}, "methods": {}}, "description": "YAHOO\u5168\u5c40\u540d\u79f0\u7a7a\u95f4\u5bf9\u8c61. \u5982\u679cYAHOO\u5df2\u7ecf\u5b9a\u4e49\uff0c\u539f\u5148\u7684YAHOO\u5bf9\u8c61\u4e0d\u4f1a\u88ab\u8986\u5199\uff0c\u6240\u4ee5\u5b9a\u4e49\u8fc7\u7684\u540d\u79f0\u7a7a\u95f4\u662f\u53d7\u4fdd\u62a4\u7684\u3002", "guessedname": "YAHOO", "name": "YAHOO.widget.YAHOO"}, {"extends": {"superclass": {}, "events": {}, "configs": {}, "properties": {}, "methods": {}}, "description": "YAHOO_config\u4e0d\u662f\u5e93\u7684\u4e00\u90e8\u5206. \u800c\u662f\u5728\u52a0\u8f7dYUI\u5e93\u4e4b\u524d\u5c31\u80fd\u88ab\u7acb\u5373\u5b9a\u4e49\u7684\u5bf9\u8c61\uff0c\n\u5bf9\u8c61\u5305\u542b\u4e00\u4e9b\u80fd\u591f\u7528\u6765\u914d\u7f6e\uff08YUI\uff09\u5e93\u52a0\u8f7d\u524d\u9700\u8981\u7684\u5168\u5c40\u5c5e\u6027\u3002", "guessedname": "YAHOO_config", "name": "YAHOO.widget.YAHOO_config"}, {"extends": {"superclass": {}, "events": {}, "configs": {}, "properties": {}, "methods": {}}, "description": "\u8bf4\u660e\uff1a\tYAHOO.env \u7528\u6765\u8ffd\u8e2aYUI\u5e93\u548c\u6d4f\u89c8\u5668\u7684\u4fe1\u606f\u3002", "guessedname": "YAHOO.env", "name": "YAHOO.widget.YAHOO.env"}, {"extends": {"superclass": {}, "events": {}, "configs": {}, "properties": {}, "methods": {}}, "description": "\u8bf4\u660e\uff1a\t\u80fd\u907f\u514d\u7684\u8bdd\u5c31\u907f\u514d\u68c0\u6d4b\u6d4f\u89c8\u5668\u4fe1\u606f\u3002\u5c3d\u91cf\u4f7f\u7528\u7279\u5f81\u68c0\u6d4b\u3002\u9664\u975e\u4e07\u4e0d\u5f97\u5df2\u624d\u4f7f\u7528\u6d4f\u89c8\u5668\u68c0\u6d4b\u3002\nYAHOO.env\u5b58\u50a8\u4e86\u6240\u6709\u6d4f\u89c8\u5668\u5f15\u64ce\u7684\u7248\u672c\u53f7\uff0c\u9ed8\u8ba4\u90fd\u662f0\uff0c\u8fd9\u4e2a\u503c\u4e0d\u4e00\u5b9a\u5c31\u662f\u6b63\u5728\u4f7f\u7528\u8be5\u5f15\u64ce\u7684\u6d4f\u89c8\u5668\u7248\u672c\u53f7\u3002\n\u8be5\u503c\u662f\u4e00\u4e2a\u6d6e\u70b9\u503c\uff0c\u6240\u4ee5\u5f88\u5bb9\u6613\u7528\u5e03\u5c14\u5224\u65ad\uff0c\u4e5f\u53ef\u4ee5\u67e5\u51fa\u5177\u4f53\u7684\u7248\u672c\u8303\u56f4\u3002\u6b63\u56e0\u4e3a\u5982\u6b64\uff0c\n\u4e00\u4e9b\u66f4\u7cbe\u786e\u7684\u7248\u672c\u4fe1\u606f\u5c06\u88ab\u4e22\u5931\uff0c(\u6bd4\u5982,Gecko1.8.0.9\u5c06\u663e\u793a\u4e3a1.8\uff09\u3002", "guessedname": "YAHOO.env.ua", "name": "YAHOO.widget.YAHOO.env.ua"}, {"extends": {"superclass": {}, "events": {}, "configs": {}, "properties": {}, "methods": {}}, "description": "\u5e93\u6240\u4f7f\u7528\u7684\u8bed\u8a00\u548c\u6269\u5c55\u3002", "guessedname": "YAHOO.lang", "name": "YAHOO.widget.YAHOO.lang"}];
                            </script>
                            <div id="splash_classList">
                                <ul>
                                    <li><a href="YAHOO.widget.YAHOO.html" title="YAHOO.widget.YAHOO" id="class_0">YAHOO</a></li>
                                    <li><a href="YAHOO.widget.YAHOO_config.html" title="YAHOO.widget.YAHOO_config" id="class_1">YAHOO_config</a></li>
                                    <li><a href="YAHOO.widget.YAHOO.env.html" title="YAHOO.widget.YAHOO.env" id="class_2">YAHOO.env</a></li>
                                    <li><a href="YAHOO.widget.YAHOO.env.ua.html" title="YAHOO.widget.YAHOO.env.ua" id="class_3">YAHOO.env.ua</a></li>
                                    <li><a href="YAHOO.widget.YAHOO.lang.html" title="YAHOO.widget.YAHOO.lang" id="class_4">YAHOO.lang</a></li>
                                </ul>
                            </div>
                    </div>
                    <div class="yui-u">

                        </div>
                </div>

			</div>
		</div>
		<div class="yui-b">
            <div class="nav">

                    <div id="moduleList" class="module">
                        <h4>模块</h4>
                        <ul class="content">
                                <li class=""><a href="module_animation.html" title="animation">animation</a></li>
                                <li class=""><a href="module_autocomplete.html" title="autocomplete">autocomplete</a></li>
                                <li class=""><a href="module_button.html" title="button">button</a></li>
                                <li class=""><a href="module_calendar.html" title="calendar">calendar</a></li>
                                <li class=""><a href="module_carousel.html" title="carousel">carousel</a></li>
                                <li class=""><a href="module_charts.html" title="charts">charts</a></li>
                                <li class=""><a href="module_colorpicker.html" title="colorpicker">colorpicker</a></li>
                                <li class=""><a href="module_connection.html" title="connection">connection</a></li>
                                <li class=""><a href="module_container.html" title="container">container</a></li>
                                <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
                                <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
                                <li class=""><a href="module_datatable.html" title="datatable">datatable</a></li>
                                <li class=""><a href="module_datemath.html" title="datemath">datemath</a></li>
                                <li class=""><a href="module_dom.html" title="dom">dom</a></li>
                                <li class=""><a href="module_dragdrop.html" title="dragdrop">dragdrop</a></li>
                                <li class=""><a href="module_editor.html" title="editor">editor</a></li>
                                <li class=""><a href="module_element.html" title="element">element</a></li>
                                <li class=""><a href="module_event.html" title="event">event</a></li>
                                <li class=""><a href="module_get.html" title="get">get</a></li>
                                <li class=""><a href="module_history.html" title="history">history</a></li>
                                <li class=""><a href="module_imagecropper.html" title="imagecropper">imagecropper</a></li>
                                <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
                                <li class=""><a href="module_json.html" title="json">json</a></li>
                                <li class=""><a href="module_layout.html" title="layout">layout</a></li>
                                <li class=""><a href="module_logger.html" title="logger">logger</a></li>
                                <li class=""><a href="module_menu.html" title="menu">menu</a></li>
                                <li class=""><a href="module_paginator.html" title="paginator">paginator</a></li>
                                <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
                                <li class=""><a href="module_profilerviewer.html" title="profilerviewer">profilerviewer</a></li>
                                <li class=""><a href="module_resize.html" title="resize">resize</a></li>
                                <li class=""><a href="module_selector.html" title="selector">selector</a></li>
                                <li class=""><a href="module_slider.html" title="slider">slider</a></li>
                                <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
                                <li class=""><a href="module_tabview.html" title="tabview">tabview</a></li>
                                <li class=""><a href="module_treeview.html" title="treeview">treeview</a></li>
                                <li class=""><a href="module_uploader.html" title="uploader">uploader</a></li>
                                <li class="selected"><a href="module_yahoo.html" title="yahoo">yahoo</a></li>
                                <li class=""><a href="module_yuiloader.html" title="yuiloader">yuiloader</a></li>
                                <li class=""><a href="module_yuitest.html" title="yuitest">yuitest</a></li>
                        </ul>
                    </div>

                    <div id="classList" class="module">
                        <h4>类</h4>
                        <ul class="content">
                                <li class=""><a href="YAHOO.widget.YAHOO.html" title="YAHOO.widget.YAHOO">YAHOO.widget.YAHOO</a></li>
                                <li class=""><a href="YAHOO.widget.YAHOO.env.html" title="YAHOO.widget.YAHOO.env">YAHOO.widget.YAHOO.env</a></li>
                                <li class=""><a href="YAHOO.widget.YAHOO.env.ua.html" title="YAHOO.widget.YAHOO.env.ua">YAHOO.widget.YAHOO.env.ua</a></li>
                                <li class=""><a href="YAHOO.widget.YAHOO.lang.html" title="YAHOO.widget.YAHOO.lang">YAHOO.widget.YAHOO.lang</a></li>
                                <li class=""><a href="YAHOO.widget.YAHOO_config.html" title="YAHOO.widget.YAHOO_config">YAHOO.widget.YAHOO_config</a></li>
                        </ul>
                    </div>

                    <div id="fileList" class="module">
                        <h4>文件</h4>
                        <ul class="content">        
                                <li class=""><a href="yahoo.js.html" title="yahoo.js">yahoo.js</a></li>
                        </ul>
                    </div>





            </div>
		</div>
	</div>
	<div id="ft">
        <hr />
        Copyright &copy; 2009 Yahoo! Inc. All rights reserved.
	</div>
</div>
<script type="text/javascript">
    ALL_YUI_PROPS = [{"url": "YAHOO.widget.YAHOO.env.ua.html#property_air", "access": "", "host": "YAHOO.widget.YAHOO.env.ua", "type": "property", "name": "air"}, {"url": "YAHOO.widget.YAHOO.lang.html#method_augment", "access": "", "host": "YAHOO.widget.YAHOO.lang", "type": "method", "name": "augment"}, {"url": "YAHOO.widget.YAHOO.lang.html#method_augmentObject", "access": "", "host": "YAHOO.widget.YAHOO.lang", "type": "method", "name": "augmentObject"}, {"url": "YAHOO.widget.YAHOO.lang.html#method_augmentProto", "access": "", "host": "YAHOO.widget.YAHOO.lang", "type": "method", "name": "augmentProto"}, {"url": "YAHOO.widget.YAHOO.env.ua.html#property_caja", "access": "", "host": "YAHOO.widget.YAHOO.env.ua", "type": "property", "name": "caja"}, {"url": "YAHOO.widget.YAHOO.lang.html#method_dump", "access": "", "host": "YAHOO.widget.YAHOO.lang", "type": "method", "name": "dump"}, {"url": "YAHOO.widget.YAHOO.lang.html#method_extend", "access": "", "host": "YAHOO.widget.YAHOO.lang", "type": "method", "name": "extend"}, {"url": "YAHOO.widget.YAHOO.env.ua.html#property_gecko", "access": "", "host": "YAHOO.widget.YAHOO.env.ua", "type": "property", "name": "gecko"}, {"url": "YAHOO.widget.YAHOO.env.html#method_getVersion", "access": "", "host": "YAHOO.widget.YAHOO.env", "type": "method", "name": "getVersion"}, {"url": "YAHOO.widget.YAHOO.lang.html#method_hasOwnProperty", "access": "", "host": "YAHOO.widget.YAHOO.lang", "type": "method", "name": "hasOwnProperty"}, {"url": "YAHOO.widget.YAHOO.env.ua.html#property_ie", "access": "", "host": "YAHOO.widget.YAHOO.env.ua", "type": "property", "name": "ie"}, {"url": "YAHOO.widget.YAHOO_config.html#property_injecting", "access": "", "host": "YAHOO.widget.YAHOO_config", "type": "property", "name": "injecting"}, {"url": "YAHOO.widget.YAHOO.lang.html#method_isArray", "access": "", "host": "YAHOO.widget.YAHOO.lang", "type": "method", "name": "isArray"}, {"url": "YAHOO.widget.YAHOO.lang.html#method_isBoolean", "access": "", "host": "YAHOO.widget.YAHOO.lang", "type": "method", "name": "isBoolean"}, {"url": "YAHOO.widget.YAHOO.lang.html#method_isFunction", "access": "", "host": "YAHOO.widget.YAHOO.lang", "type": "method", "name": "isFunction"}, {"url": "YAHOO.widget.YAHOO.lang.html#method_isNull", "access": "", "host": "YAHOO.widget.YAHOO.lang", "type": "method", "name": "isNull"}, {"url": "YAHOO.widget.YAHOO.lang.html#method_isNumber", "access": "", "host": "YAHOO.widget.YAHOO.lang", "type": "method", "name": "isNumber"}, {"url": "YAHOO.widget.YAHOO.lang.html#method_isObject", "access": "", "host": "YAHOO.widget.YAHOO.lang", "type": "method", "name": "isObject"}, {"url": "YAHOO.widget.YAHOO.lang.html#method_isString", "access": "", "host": "YAHOO.widget.YAHOO.lang", "type": "method", "name": "isString"}, {"url": "YAHOO.widget.YAHOO.lang.html#method_isUndefined", "access": "", "host": "YAHOO.widget.YAHOO.lang", "type": "method", "name": "isUndefined"}, {"url": "YAHOO.widget.YAHOO.lang.html#method_isValue", "access": "", "host": "YAHOO.widget.YAHOO.lang", "type": "method", "name": "isValue"}, {"url": "YAHOO.widget.YAHOO.lang.html#method_later", "access": "", "host": "YAHOO.widget.YAHOO.lang", "type": "method", "name": "later"}, {"url": "YAHOO.widget.YAHOO_config.html#property_listener", "access": "", "host": "YAHOO.widget.YAHOO_config", "type": "property", "name": "listener"}, {"url": "YAHOO.widget.YAHOO.env.html#property_listeners", "access": "", "host": "YAHOO.widget.YAHOO.env", "type": "property", "name": "listeners"}, {"url": "YAHOO.widget.YAHOO_config.html#property_load", "access": "", "host": "YAHOO.widget.YAHOO_config", "type": "property", "name": "load"}, {"url": "YAHOO.widget.YAHOO_config.html#property_locale", "access": "", "host": "YAHOO.widget.YAHOO_config", "type": "property", "name": "locale"}, {"url": "YAHOO.widget.YAHOO.html#method_log", "access": "", "host": "YAHOO.widget.YAHOO", "type": "method", "name": "log"}, {"url": "YAHOO.widget.YAHOO.lang.html#method_merge", "access": "", "host": "YAHOO.widget.YAHOO.lang", "type": "method", "name": "merge"}, {"url": "YAHOO.widget.YAHOO.env.ua.html#property_mobile", "access": "", "host": "YAHOO.widget.YAHOO.env.ua", "type": "property", "name": "mobile"}, {"url": "YAHOO.widget.YAHOO.env.html#property_modules", "access": "", "host": "YAHOO.widget.YAHOO.env", "type": "property", "name": "modules"}, {"url": "YAHOO.widget.YAHOO.html#method_namespace", "access": "", "host": "YAHOO.widget.YAHOO", "type": "method", "name": "namespace"}, {"url": "YAHOO.widget.YAHOO.env.ua.html#property_opera", "access": "", "host": "YAHOO.widget.YAHOO.env.ua", "type": "property", "name": "opera"}, {"url": "YAHOO.widget.YAHOO.html#method_register", "access": "", "host": "YAHOO.widget.YAHOO", "type": "method", "name": "register"}, {"url": "YAHOO.widget.YAHOO.lang.html#method_substitute", "access": "", "host": "YAHOO.widget.YAHOO.lang", "type": "method", "name": "substitute"}, {"url": "YAHOO.widget.YAHOO.lang.html#method_trim", "access": "", "host": "YAHOO.widget.YAHOO.lang", "type": "method", "name": "trim"}, {"url": "YAHOO.widget.YAHOO.env.ua.html#property_webkit", "access": "", "host": "YAHOO.widget.YAHOO.env.ua", "type": "property", "name": "webkit"}];
</script>
</body>
</html>
